import  flyio from 'flyio'
import Base from '../../config/testing.env'


let base =  Base.BASE_API


//export const login = (params)=> { return  flyio.post( `${base}/shuiyou/login`,params)}
//export const loginout = (params)=> { return  flyio.post( `${base}/shuiyou/loginout`,params)

export const register = (params)=> { return  flyio.post( `${base}/register`,params)}

export const login = (username,password,params)=> { return  flyio.post( `${base}/login/${username}/${password}`,params)}


